<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<link type="text/css" rel="stylesheet" href="../css/style.css" />
    <!--[if IE 6]>
    <script src="js/iepng.js" type="text/javascript"></script>
        <script type="text/javascript">
           EvPNG.fix('div, ul, img, li, input, a'); 
        </script>
    <![endif]-->
        
    <script type="text/javascript" src="../js/jquery-1.8.2.min.js"></script>
    <script type="text/javascript" src="../js/menu.js"></script>    
        
	<script type="text/javascript" src="../js/select.js"></script>
        
    
<title>管理员登录界面</title>
</head>
<body>  
<!-- 头部 -->
<%@ include file="../common/backend/top.jsp" %>
<!-- 左边菜单 -->
<div class="m_left">
	<%@ include file="../common/backend/left.jsp" %>
</div>

<div class="m_right" id="content">
	<div class="mem_tit">分类列表</div>
	<p align="right">
		<a href="javascript:void(0);" onclick="toAddProductCategory();" class="add_b">添加分类</a>
		<br>
	</p>
	<br>
	<table border="0" class="order_tab" style="width:930px; text-align:center; margin-bottom:30px;" cellspacing="0" cellpadding="0">
		<tbody>
			<tr>
				<td width="5%">选择</td>
				<td width="20%">分类名称</td>
				<td width="25%">分类级别</td>
				<td width="25%">父级分类</td>
				<td width="25%">操作</td>
			</tr>

			<tr>
				<td width="5%"><input type="radio" value="548" name="select" onclick="toUpdateProductCategoryList(this);"></td>
				<td>化妆品</td>
				<td>一级分类</td>
				<td>无</td>
				<td>
					<a href="javascript:void(0);" onclick="deleteProductCategory(548,1);">删除</a>
				</td>
			</tr>

			<tr>
				<td width="5%"><input type="radio" value="628" name="select" onclick="toUpdateProductCategoryList(this);"></td>
				<td>家用商品</td>
				<td>一级分类</td>
				<td>无</td>
				<td>
					<a href="javascript:void(0);" onclick="deleteProductCategory(628,1);">删除</a>
				</td>
			</tr>

			<tr>
				<td width="5%"><input type="radio" value="654" name="select" onclick="toUpdateProductCategoryList(this);"></td>
				<td>面部护理</td>
				<td>二级分类</td>
				<td>无</td>
				<td>
					<a href="javascript:void(0);" onclick="deleteProductCategory(654,2);">删除</a>
				</td>
			</tr>

			<tr>
				<td width="5%"><input type="radio" value="655" name="select" onclick="toUpdateProductCategoryList(this);"></td>
				<td>少女派</td>
				<td>三级分类</td>
				<td>无</td>
				<td>
					<a href="javascript:void(0);" onclick="deleteProductCategory(655,3);">删除</a>
				</td>
			</tr>

			<tr>
				<td width="5%"><input type="radio" value="656" name="select" onclick="toUpdateProductCategoryList(this);"></td>
				<td>餐具</td>
				<td>二级分类</td>
				<td>无</td>
				<td>
					<a href="javascript:void(0);" onclick="deleteProductCategory(656,2);">删除</a>
				</td>
			</tr>

			<tr>
				<td width="5%"><input type="radio" value="657" name="select" onclick="toUpdateProductCategoryList(this);"></td>
				<td>卫具</td>
				<td>二级分类</td>
				<td>无</td>
				<td>
					<a href="javascript:void(0);" onclick="deleteProductCategory(657,2);">删除</a>
				</td>
			</tr>

			<tr>
				<td width="5%"><input type="radio" value="658" name="select" onclick="toUpdateProductCategoryList(this);"></td>
				<td>叉子</td>
				<td>三级分类</td>
				<td>无</td>
				<td>
					<a href="javascript:void(0);" onclick="deleteProductCategory(658,3);">删除</a>
				</td>
			</tr>

			<tr>
				<td width="5%"><input type="radio" value="659" name="select" onclick="toUpdateProductCategoryList(this);"></td>
				<td>锅</td>
				<td>三级分类</td>
				<td>无</td>
				<td>
					<a href="javascript:void(0);" onclick="deleteProductCategory(659,3);">删除</a>
				</td>
			</tr>

		</tbody>
	</table>

	<div class="pages">
		<a href="#" class="p_pre">首页</a>
		<a href="#" class="cur">1</a>
		<a href="#">2</a>
		<a href="#">3</a>
		<a href="#">4</a>
		<a href="#" class="p_pre">下一页</a>
		<a href="#" class="p_pre">尾页</a>
	</div>

	<div id="addProductCategory">

		<table border="0" class="add_tab" style="width:930px;" cellspacing="0" cellpadding="0">
			<tbody>
				<tr>
					<td width="135" align="right">分类级别</td>
					<td colspan="3" style="font-family:'宋体';">
						<select class="jj" name="type" style="background-color:#f6f6f6;" id="type" onchange="selectProductCategoryLevel(this);" disabled="disabled">
							<option value="" selected="selected">请选择...</option>
							<option value="1">一级分类
							</option>
							<option value="2">二级分类
							</option>
							<option value="3" selected="selected">三级分类
							</option>
						</select>
					</td>
				</tr>
				<tr>
					<td width="135" align="right">一级分类</td>
					<td colspan="3" style="font-family:'宋体';">
						<select class="jj" name="productCategoryLevel1" style="background-color:#f6f6f6;" id="productCategoryLevel1" onchange="queryProductCategoryList(this,'productCategoryLevel2');">
							<option value="0" selected="selected">请选择...</option>
		
							<option value="548">化妆品</option>
		
							<option value="628" selected="selected">家用商品</option>
		
							<option value="660">进口食品,生鲜</option>
		
							<option value="670">电子商品</option>
		
							<option value="676">保健食品</option>
		
							<option value="681">箱包</option>
		
						</select>
					</td>
				</tr>
				<tr>
					<td width="135" align="right">二级分类</td>
					<td>
						<select class="jj" name="productCategoryLevel2" style="background-color:#f6f6f6;" id="productCategoryLevel2">
							<option value="0" selected="selected">请选择...</option>
		
							<option value="654">面部护理</option>
		
							<option value="656" selected="selected">餐具</option>
		
							<option value="657">卫具</option>
		
							<option value="661">零食/糖果/巧克力</option>
		
							<option value="671">手机</option>
		
							<option value="674">手环</option>
		
							<option value="677">老年保健品</option>
		
							<option value="678">中年营养品</option>
		
							<option value="679">儿童保健品</option>
		
							<option value="682">旅行箱</option>
		
							<option value="683">手提箱</option>
		
							<option value="690">电脑</option>
		
							<option value="696">客厅专用</option>
		
						</select>
					</td>
				</tr>
				<tr>
					<td align="right">分类名称</td>
					<td style="font-family:'宋体';">
						<input type="text" value="锅" class="add_ipt" id="name">（必填）
						<input type="hidden" name="id" value="659" id="id">
					</td>
				</tr>
			</tbody>
		</table>
		<p align="right">
			<br>
			<a href="javascript:void(0);" onclick="saveOrUpdate();" class="add_b">确认修改</a>
		</p>
	</div>
</div> 
</div>
    
<div class="b_btm_bg b_btm_c" id="footer">
  <div class="b_btm">
    <table border="0" style="width:210px; height:62px; float:left; margin-left:75px; margin-top:30px;" cellspacing="0" cellpadding="0">
      <tbody><tr>
        <td width="72"><img src="../images/b1.png" width="62" height="62"></td>
        <td><h2>正品保障</h2>正品行货  放心购买</td>
      </tr>
    </tbody></table>
    <table border="0" style="width:210px; height:62px; float:left; margin-left:75px; margin-top:30px;" cellspacing="0" cellpadding="0">
      <tbody><tr>
        <td width="72"><img src="../images/b2.png" width="62" height="62"></td>
        <td><h2>满38包邮</h2>满38包邮 免运费</td>
      </tr>
    </tbody></table>
    <table border="0" style="width:210px; height:62px; float:left; margin-left:75px; margin-top:30px;" cellspacing="0" cellpadding="0">
      <tbody><tr>
        <td width="72"><img src="../images/b3.png" width="62" height="62"></td>
        <td><h2>天天低价</h2>天天低价 畅选无忧</td>
      </tr>
    </tbody></table>
    <table border="0" style="width:210px; height:62px; float:left; margin-left:75px; margin-top:30px;" cellspacing="0" cellpadding="0">
      <tbody><tr>
        <td width="72"><img src="../images/b4.png" width="62" height="62"></td>
        <td><h2>准时送达</h2>收货时间由你做主</td>
      </tr>
    </tbody></table>
  </div>
</div>
<div class="b_nav">
  <dl>
    <dt><a href="javascript:void(0)">新手上路</a></dt>
    <dd><a href="javascript:void(0)">售后流程</a></dd>
    <dd><a href="javascript:void(0)">购物流程</a></dd>
    <dd><a href="javascript:void(0)">订购方式</a></dd>
    <dd><a href="javascript:void(0)">隐私声明</a></dd>
    <dd><a href="javascript:void(0)">推荐分享说明</a></dd>
  </dl>
  <dl>
    <dt><a href="javascript:void(0)">配送与支付</a></dt>
    <dd><a href="javascript:void(0)">货到付款区域</a></dd>
    <dd><a href="javascript:void(0)">配送支付查询</a></dd>
    <dd><a href="javascript:void(0)">支付方式说明</a></dd>
  </dl>
  <dl>
    <dt><a href="javascript:void(0)">会员中心</a></dt>
    <dd><a href="javascript:void(0)">资金管理</a></dd>
    <dd><a href="javascript:void(0)">我的收藏</a></dd>
    <dd><a href="javascript:void(0)">我的订单</a></dd>
  </dl>
  <dl>
    <dt><a href="javascript:void(0)">服务保证</a></dt>
    <dd><a href="javascript:void(0)">退换货原则</a></dd>
    <dd><a href="javascript:void(0)">售后服务保证</a></dd>
    <dd><a href="javascript:void(0)">产品质量保证</a></dd>
  </dl>
  <dl>
    <dt><a href="javascript:void(0)">联系我们</a></dt>
    <dd><a href="javascript:void(0)">网站故障报告</a></dd>
    <dd><a href="javascript:void(0)">购物咨询</a></dd>
    <dd><a href="javascript:void(0)">投诉与建议</a></dd>
  </dl>
  <div class="b_tel_bg">
    <a href="javascript:void(0)" class="b_sh1">新浪微博</a>
    <a href="javascript:void(0)" class="b_sh2">腾讯微博</a>
    <p>
      服务热线：<br>
      <span>400-123-4567</span>
    </p>
  </div>
  <div class="b_er">
    <div class="b_er_c"><img src="../images/er.gif" width="118" height="118"></div>
    <img src="../images/ss.png">
  </div>
</div>
<div class="btmbg">
  <div class="btm">
    备案/许可证编号：蜀ICP备12009302号-1-www.dingguagua.com   Copyright © 2015-2018 尤洪商城网 All Rights Reserved. 复制必究 , Technical Support: Dgg Group <br>
    <img src="../images/b_1.gif" width="98" height="33"><img src="../images/b_2.gif" width="98" height="33"><img src="../images/b_3.gif" width="98" height="33"><img src="../images/b_4.gif" width="98" height="33"><img src="../images/b_5.gif" width="98" height="33"><img src="../images/b_6.gif" width="98" height="33">
  </div>
</div>

</div>
</body>


<!--[if IE 6]>
<script src="//letskillie6.googlecode.com/svn/trunk/2/zh_CN.js"></script>
<![endif]-->
</html>
